package tjs.study.mini.spring.register;

import tjs.study.mini.spring.DefaultListableBeanFactory;

/**
 * Created by Nicky.Tang on 2021/9/13 3:47 下午
 *
 * @since 02.12.10
 */
public class ConfigurationClassPostProcessor implements BeanDefinitionRegistryPostProcessor {
    @Override
    public void postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry, Class<?>... componentClasses) {
        for (Class<?> componentClass : componentClasses) {
            doProcessConfigurationClass(registry, componentClass, componentClass);
        }
    }

    protected final void doProcessConfigurationClass(BeanDefinitionRegistry registry, Class<?> configClass, Class<?> sourceClass) {

    }

    @Override
    public void postProcessBeanFactory(DefaultListableBeanFactory beanFactory) {

    }
}
